package com.zhkc.iess.system.vo;

import com.zhkc.wisdom.common.web.desensitization.SensitiveTypeEnum;
import com.zhkc.wisdom.common.web.desensitization.annotation.Desensitized;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author lk
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserVO implements Serializable {

    @Serial
    private static final long serialVersionUID = -9188678856971805675L;

    private Long id;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 手机号
     */
    @Desensitized(type = SensitiveTypeEnum.MOBILE_PHONE)
    private String userPhone;

    /**
     * 测试时间
     */
    private LocalDateTime userDateTime;

    /**
     * 测试日期
     */
    private LocalDate userDate;


    /**
     * 测试日期
     */
    private Date testDate;

}
